<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
   <head>
    	<title></title>   
		<s:include value="../common/source.jsp"></s:include>
		<script src="js/member.js"></script>
			
  </head>
  <body>

    <div class="body">
          <div class="content ui-sortable">
           <div class="list">
          	学科建设平台列表
          	</div>
          	</div>
          	 <br/> 
            <!--关键词搜索-->
             <div class="load0"> 
            <form action="templates/admin/addPlatform.jsp" method="post">
            <button class="sui-btn btn-primary">添加</button>
          	</form>
          	 </div>
       <br/>
          <hr style="background-color:#cfe1f9;height:1px;"/> 
           <!--按年份搜索结束-->  
           
 <table class="sui-table table-primary table-sideheader">
          <thead>
            <tr>
             <th style="width:5%;text-align:center">序号</th>
              <th style="width:32%">名称</th>
              <th style="width:25%">类别</th> 
              <th style="width:10%">级别</th>       
              <th style="width:10%">批准部门</th>
              <th style="width:9%">批准日期</th>
              <th style="width:7%">操作</th>
            </tr>
          </thead>
          <tbody>
          <s:iterator value="platforms"> 
            <tr>
               <td style="text-align:center"></td>
            <td><s:property value="name"/></td>
            <td>
            <s:if test="classify==0">重点实验室</s:if>
            <s:if test="classify==1">专业实验室</s:if>
            <s:if test="classify==2">工程（技术）中心</s:if>
            <s:if test="classify==3">试验基地</s:if>
            <s:if test="classify==4">校企合作工程研究中心</s:if>
            </td>
            <td>
            <s:if test="level==0">国家级</s:if>
            <s:if test="level==1">省部级</s:if>
            <s:if test="level==2">厅级局</s:if>
            <s:if test="level==3">校级</s:if>
            </td>
            <td>
            <s:if test="approvedDepartment==0">科技部</s:if>
            <s:if test="approvedDepartment==1">教育部</s:if>
            <s:if test="approvedDepartment==2">科技厅</s:if>
            <s:if test="approvedDepartment==3">教育厅</s:if>
            </td>
            <td><s:property value="approvedDate"/></td>
            <td>
          <!--  <a href="admin/DelPlatformAction.action?platform.plaId=<s:property value="plaId"/>" onsubmit="return checkAgain()">删除</a> -->
           <form action="admin/DelPlatformAction.action?platform.plaId=<s:property value="plaId"/>" onsubmit="return firm()" method="post">
           
          <button type="submit" class="sui-btn " style="background-color:#FF0000;color:#fff;">删除</button>
           </form>
           </td>
             </tr>
           </s:iterator>
          </tbody>
        </table>
         </div>
  </body>
</html>